Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: removed useCamera logic from nodeOps #308

Conversation

alvarosabu
Copy link
Member

@alvarosabu alvarosabu commented Jun 19, 2023

Following the issue of the state being used on nodeOps. I removed the useCamera logic from there.

I also improved the error handling. If the user doesn't pass a camera via slots or props, a default PerspectiveCamera will be created.

Closes #307
Closes #302
Closes #273

@netlify
Copy link

netlify bot commented Jun 19, 2023

Deploy Preview for tresjs-docs ready!

Name Link
🔨 Latest commit b8da6fb
🔍 Latest deploy log https://app.netlify.com/sites/tresjs-docs/deploys/649072b4b36d2100081dfe4a
😎 Deploy Preview https://deploy-preview-308--tresjs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@alvarosabu alvarosabu self-assigned this Jun 19, 2023
docs/guide/troubleshooting.md Outdated Show resolved Hide resolved
docs/guide/your-first-scene.md Outdated Show resolved Hide resolved
src/components/TresScene.ts Outdated Show resolved Hide resolved
src/components/TresScene.ts Outdated Show resolved Hide resolved
@alvarosabu alvarosabu requested a review from Tinoooo June 19, 2023 15:17
@alvarosabu alvarosabu merged commit e9509ba into main Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants